package com.antu.first.dto;

import com.antu.first.bean.Swiper;
import com.antu.first.enums.SwiperStateEnum;

import java.util.List;

/**
 * Created by Administrator on 2018/3/8.
 */
public class SwiperOperationExecution {

    private int state;

    private String stateInfo;

    private int count;

    private Swiper swiper;

    private List<Swiper> swipers;

    public SwiperOperationExecution(SwiperStateEnum stateEnum) {
        this.state = stateEnum.getState();
        this.stateInfo = stateEnum.getStateInfo();
    }

    public SwiperOperationExecution(SwiperStateEnum stateEnum, Swiper swiper) {
        this.state = stateEnum.getState();
        this.stateInfo = stateEnum.getStateInfo();
        this.swiper = swiper;
    }

    public SwiperOperationExecution(SwiperStateEnum stateEnum, List<Swiper> swipers) {
        this.state = stateEnum.getState();
        this.stateInfo = stateEnum.getStateInfo();
        this.swipers = swipers;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStateInfo() {
        return stateInfo;
    }

    public void setStateInfo(String stateInfo) {
        this.stateInfo = stateInfo;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Swiper getSwiper() {
        return swiper;
    }

    public void setSwiper(Swiper swiper) {
        this.swiper = swiper;
    }

    public List<Swiper> getSwipers() {
        return swipers;
    }

    public void setSwipers(List<Swiper> swipers) {
        this.swipers = swipers;
    }
}
